package com.hww.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 商品名称 commodity 商品编号 number 商家 business
 *
 * @author Administrator
 */
@TableName(value = "orders")
public class Order implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    private String commodity;
    private String number;
    private String business;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCommodity() {
        return commodity;
    }

    public void setCommodity(String commodity) {
        this.commodity = commodity;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    @Override
    public String toString() {
        return "Order [id=" + id + ", commodity=" + commodity + ", number=" + number + ", business=" + business + "]";
    }

    public Order() {
        super();
        // TODO Auto-generated constructor stub
    }
}
